package com.riversoft.weixin.mp.event.card;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlCData;
import com.riversoft.weixin.common.event.EventRequest;

/**
 * create by Janyd
 * Date 2017-10-11 下午5:03
 */
public class CardReceiveEvent extends EventRequest {

    @JsonProperty("UserCardCode")
    @JacksonXmlCData
    private String cardCode;

    @JsonProperty("CardId")
    @JacksonXmlCData
    private String cardId;

    @JsonProperty("IsGiveByFriend")
    private Integer gived;

    @JsonProperty("FriendUserName")
    @JacksonXmlCData
    private String friendName;

    @JsonProperty("OuterId")
    private Integer outerId;

    @JsonProperty("OldUserCardCode")
    @JacksonXmlCData
    private String oldCardCode;

    @JsonProperty("OuterStr")
    @JacksonXmlCData
    private String outerStr;

    @JsonProperty("IsRestoreMemberCard")
    private Integer restoreMemberCard;

    @JsonProperty("IsRecommendByFriend")
    private Integer recommendByFriend;


    public String getCardCode() {
        return cardCode;
    }

    public void setCardCode(String cardCode) {
        this.cardCode = cardCode;
    }

    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }

    public Integer getGived() {
        return gived;
    }

    public void setGived(Integer gived) {
        this.gived = gived;
    }

    public String getFriendName() {
        return friendName;
    }

    public void setFriendName(String friendName) {
        this.friendName = friendName;
    }

    public Integer getOuterId() {
        return outerId;
    }

    public void setOuterId(Integer outerId) {
        this.outerId = outerId;
    }

    public String getOldCardCode() {
        return oldCardCode;
    }

    public void setOldCardCode(String oldCardCode) {
        this.oldCardCode = oldCardCode;
    }

    public String getOuterStr() {
        return outerStr;
    }

    public void setOuterStr(String outerStr) {
        this.outerStr = outerStr;
    }

    public Integer getRestoreMemberCard() {
        return restoreMemberCard;
    }

    public void setRestoreMemberCard(Integer restoreMemberCard) {
        this.restoreMemberCard = restoreMemberCard;
    }

    public Integer getRecommendByFriend() {
        return recommendByFriend;
    }

    public void setRecommendByFriend(Integer recommendByFriend) {
        this.recommendByFriend = recommendByFriend;
    }
}
